#!/bin/bash
BASEDIR=$(dirname `which $0`)
BAENV=$BASEDIR/loadenv.sh
if [ -f $BAENV ]; then . $BAENV; else echo "No env library ($BAENV)"; exit 1; fi
DIR=$BASEDIR/ssh_hosts
SSHTO=$BASEDIR/ssh-to
cd $DIR
for HOST in `list_hosts_all_links`
do
	ln -fs ../ssh-to $HOST	
done
